

/**
 * @author: Tangxz
 * @email: 1171702529@qq.com
 * @cate: 2021/02/17 15:21
 */
public class _wujie_20 {
    String str = new String("good");
    char[ ] ch = { 'a' , 'b' , 'c' };
    public static void main(String args[]){
        _wujie_20 ex = new _wujie_20();
        ex.change(ex.str,ex.ch);
        System.out.print(ex.str + " and ");
        System.out.print(ex.ch);
    }
    public void change(String str,char ch[ ]){
        str = "test ok";
        ch[0] = 'g';
    }
}
